﻿#region

using MediaSage.Lib.Configuration;
using MediaSage.Lib.Database;
using MediaSage.Lib.Plugin;
using MediaSage.Lib.Utilities;
using Microsoft.VisualStudio.TestTools.UnitTesting;

#endregion

namespace MediaSageLibTest
{
    ///<summary>
    ///    This is a test class for PluginTest and is intended
    ///    to contain all PluginTest Unit Tests
    ///</summary>
    [TestClass]
    public class PluginTest
    {
        #region Fields

        #endregion Fields

        #region Properties

        ///<summary>
        ///    Gets or sets the test context which provides
        ///    information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext { get; set; }

        #endregion Properties

        #region Methods

        ///<summary>
        ///    A test for GetConfigurationByName
        ///</summary>
        [TestMethod]
        public void GetConfigurationByNameTest()
        {
            string ProviderName = string.Empty; // TODO: Initialize to an appropriate value
            int MajorVer = 0; // TODO: Initialize to an appropriate value
            int MinorVer = 0; // TODO: Initialize to an appropriate value
            int BuildNumber = 0; // TODO: Initialize to an appropriate value
            PluginEntity expected = null; // TODO: Initialize to an appropriate value
            PluginEntity actual;
            actual = Plugin.GetConfigurationByNameAndVer(ProviderName, MajorVer, MinorVer, BuildNumber);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        ///<summary>
        ///    A test for LoadPlugin
        ///</summary>
        [TestMethod]
        public void LoadPluginTest()
        {
            Config config = null; // TODO: Initialize to an appropriate value
            string ProviderLocation = string.Empty; // TODO: Initialize to an appropriate value
            PluginBase expected = null; // TODO: Initialize to an appropriate value
            PluginBase actual;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        #endregion Methods

        #region Other

        //
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //

        #endregion Other
    }
}